package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Room;
import com.java2207.group1.vo.consult.BarVo;
import com.java2207.group1.vo.consult.PieVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author :xs
 * @date : 2022/7/26
 */
public interface RoomMapper {
    List<Room> RoomPageData(Map<String, Object> params);

    List<PieVo> TypoNamePieData();

    List<BarVo> TypeNameBarDate();

    int updateRoom(Room room);

    int addRoom(Room room);


    int deleteRoom(Integer id);

    int remove(@Param("ids") String[] ids);
}
